/* Copyright [2023] <gyl> */

#pragma once

#include <vector>
#include <string>
#include <memory>
#include <utility>

#include "common/rc.h"

class SQLStageEvent;

/**
 * @brief 赋权语句的执行器
 * @ingroup Executor
 */
class GrantExecutor {
 public:
  GrantExecutor() = default;
  virtual ~GrantExecutor() = default;

  RC execute(SQLStageEvent *sql_event);
};
